/**
 * Created with IntelliJ IDEA.
 * Description:
 * Date: 2024-02-04
 * Time:13:55
 */
public class Test {
    public static void main(String[] args) {
        int[] preorder = {3,9,20,15,7};
        int[] inorder = {9,3,15,20,7};
        Solution1 solution1 = new Solution1();
        Solution1.TreeNode ret = solution1.buildTree(preorder,inorder);
        solution1.preTravel(ret);
    }
}
